﻿//*****************************************************************************
//** Project:PatternWell.PAC
//** Copyright 2011 PatternWell LLC
//** Revision History:
//** Version 1.0 - Initial Release
//*****************************************************************************
namespace PatternWell.PAC
{
    /// <summary>
    /// Interface that provides the correct format for the View Model property if it is supported on a target view contract.
    /// </summary>
    /// <typeparam name="TViewModel">The data type of the view model itself.</typeparam>
    public interface IPublishViewModel<TViewModel> where TViewModel:class,IViewModel
    {
        /// <summary>
        /// The view model source for this view contract
        /// </summary>
        TViewModel ViewModel { get;}
    }
}
